package 作业.Var1025.FeiJi;
//战斗机
public class Fighter extends Aircraft {
    private int zidantou;//子弹头数


    public Fighter(int zidantou) {
        this.zidantou = zidantou;
    }

    @Override
    public void qifei() {
        System.out.println("战斗机起飞");
    }

    @Override
    public void jiasu() {
        System.out.println("战斗机加速");
    }

    @Override
    public void jiangluo() {
        System.out.println("战斗机降落");
    }

    //发射导弹
    public void fashe(){
        System.out.println("战斗机发射导弹");
    }

    //低空盘旋
    public void dikong(){
        System.out.println("战斗机会低空盘旋");
    }
}
